SG_Security\Sg_2fa\Sg_2fa S

Total Complexity 32
Dependencies 1
Dependents 1
Total lines 256
Lines of code 113
Logical lines of code 64
Comment lines 114
Methods 9
Properties 1

Methods 9

Method Rating Maintainability Complexity Lines of code
validate_2fa_login()
A
46 10 36
load_form()
A
53 8 20
generate_user_secret()
S
59 3 15
generate_users_secret()
S
61 3 14
init_2fa()
S
62 3 11
handle_option_change()
S
74 2 5
__construct()
S
80 1 3
generate_qr_code()
S
71 1 5
check_authentication_code()
S
74 1 4